package com.zyy.state.demo01;

/**
 * @Description: 类描述
 * @Author: zyy
 * @Date: 2023/08/08 21:44
 */
public class Client {
    public static void main(String[] args) {
        Lift lift = new Lift();
        lift.setState(ILift.STOPPING_STATE);
        lift.open();//开门
        lift.close();//关门
        lift.run();//运行
        lift.stop();//停止
    }
}
